package com.seatademo.accounts.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.seatademo.accounts.entity.AccountTbl;
import com.seatademo.accounts.mapper.AccountTblMapper;
import com.seatademo.accounts.service.IAccountTblService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wangjiacang
 * @since 2021-09-02
 */
@Service
public class AccountTblServiceImpl extends ServiceImpl<AccountTblMapper, AccountTbl> implements IAccountTblService {

    @Override
    public void debit(String userId, int money) {
        baseMapper.debit(userId,money);
    }
}
